package com.zys.el.time.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zys.el.time.entity.Thinking;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ThinkingMapper extends BaseMapper<Thinking> {

    List<Thinking> getPageByChannelId(@Param("channelId") Long channelId,
                                      @Param("page") Long page,
                                      @Param("size") int size);

    Long getUserIdByThinkingId(@Param("thinkingId") Long thinkingId);
}




